<?
/**
 * <b>PromotionRuleType Class</b>
 * Published 04/11/2010 19:01:08
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('PromotionMethodCodeType.php');
require_once('PromotionSchemeCodeType.php');
require_once('ItemIDType.php');

class PromotionRuleType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var string $PromotedeBayCategoryID
	public $PromotedeBayCategoryID;
	// @var string $PromotedKeywords
	public $PromotedKeywords;
	// @var long $PromotedStoreCategoryID
	public $PromotedStoreCategoryID;
	// @var PromotionMethodCodeType $PromotionMethod
	public $PromotionMethod;
	// @var PromotionSchemeCodeType $PromotionScheme
	public $PromotionScheme;
	// @var string $ReferringeBayCategoryID
	public $ReferringeBayCategoryID;
	// @var ItemIDType $ReferringItemID
	public $ReferringItemID;
	// @var string $ReferringKeywords
	public $ReferringKeywords;
	// @var long $ReferringStoreCategoryID
	public $ReferringStoreCategoryID;
 /** End Properties **/

/**
 *
 * @return string
 */
	function getPromotedeBayCategoryID(){
		return $this->PromotedeBayCategoryID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPromotedeBayCategoryID($value){
		$this->PromotedeBayCategoryID = $value;
	}


/**
 *
 * @return string
 */
	function getPromotedKeywords(){
		return $this->PromotedKeywords;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPromotedKeywords($value){
		$this->PromotedKeywords = $value;
	}


/**
 *
 * @return long
 */
	function getPromotedStoreCategoryID(){
		return $this->PromotedStoreCategoryID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPromotedStoreCategoryID($value){
		$this->PromotedStoreCategoryID = $value;
	}


/**
 *
 * @return PromotionMethodCodeType
 */
	function getPromotionMethod(){
		return $this->PromotionMethod;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPromotionMethod($value){
		$this->PromotionMethod = $value;
	}


/**
 *
 * @return PromotionSchemeCodeType
 */
	function getPromotionScheme(){
		return $this->PromotionScheme;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPromotionScheme($value){
		$this->PromotionScheme = $value;
	}


/**
 *
 * @return string
 */
	function getReferringeBayCategoryID(){
		return $this->ReferringeBayCategoryID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setReferringeBayCategoryID($value){
		$this->ReferringeBayCategoryID = $value;
	}


/**
 *
 * @return ItemIDType
 */
	function getReferringItemID(){
		return $this->ReferringItemID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setReferringItemID($value){
		$this->ReferringItemID = $value;
	}


/**
 *
 * @return string
 */
	function getReferringKeywords(){
		return $this->ReferringKeywords;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setReferringKeywords($value){
		$this->ReferringKeywords = $value;
	}


/**
 *
 * @return long
 */
	function getReferringStoreCategoryID(){
		return $this->ReferringStoreCategoryID;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setReferringStoreCategoryID($value){
		$this->ReferringStoreCategoryID = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("PromotionRuleType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"PromotedeBayCategoryID"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PromotedKeywords"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PromotedStoreCategoryID"=>
					array(
						"required"=>false,
						"type"=>"long",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PromotionMethod"=>
					array(
						"required"=>false,
						"type"=>"PromotionMethodCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PromotionScheme"=>
					array(
						"required"=>false,
						"type"=>"PromotionSchemeCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ReferringeBayCategoryID"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ReferringItemID"=>
					array(
						"required"=>false,
						"type"=>"ItemIDType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ReferringKeywords"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"ReferringStoreCategoryID"=>
					array(
						"required"=>false,
						"type"=>"long",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
